package com.hello.sky.enmu;

public enum CommonError {

    UNKOWN_ERROR("执行过程异常，请重试。"),
    PARAMS_ERROR("非法参数"),
    OBJECT_NULL("对象为空"),
    QUERY_NULL("查询结果为空"),
    REQUEST_NULL("请求参数为空"),
    PHONE_NUMBER_ILLEGAL("手机号格式不正确"),
    ID_NUMBER_ILLEGAL("身份证格式不正确");

    private String message;

    CommonError(String message) {
        this.message = message;
    }

    public String getMessage() {
        return message;
    }
}

